package com.mr.security.web.commons.validate.smscode;

import lombok.extern.slf4j.Slf4j;

/**
 * Class: DefaultSmsCodeSender
 * User (作者):MRui
 * TODO (描述)：默认的短信接口实现
 * Date 2019-01-24 23:52
 */
@Slf4j
public class DefaultSmsCodeSenderImpl implements SmsCodeSender {
    @Override
    public void send(String mobile, String code) {
        log.info("向手机：mobile={}，发送验证码：code={}",mobile,code);
        System.out.println("向手机："+mobile+"，发送验证码："+code);
    }
}
